﻿using System;
using System.Collections.Generic;

namespace Kingdee.BOS.Core.CloudModel
{

    public class SuccessEntitysItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int DIndex { get; set; }
    }

    public class SuccessMessagesItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string FieldName { get; set; }
        /// <summary>
        /// 单据编号为“AR00000197”的应收单，保存成功！
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int DIndex { get; set; }
    }

    public class ErrorEnt
    {
        public string FieldName { get; set; }

        public string Message { get; set; }

        public int? DIndex { get; set; }
    }

    public class ResponseStatus
    {
        /// <summary>
        /// 
        /// </summary>
        public bool IsSuccess { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<ErrorEnt> Errors { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<SuccessEntitysItem> SuccessEntitys { get; set; }
        /// <summary>
        /// 
        /// </summary>
        //public List<SuccessMessagesItem> SuccessMessages { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int MsgCode { get; set; }
    }

    public class Result
    {
        /// <summary>
        /// 
        /// </summary>
        public ResponseStatus ResponseStatus { get; set; }
    }

    public class FResult
    {
        /// <summary>
        /// 
        /// </summary>
        public Result Result { get; set; }
    }

    /*public class FResult
    {
        public FResponseStatus Result { get; set; }
    }


    public class FResponseStatus
    {
        public ResponseStatus_Model ResponseStatus { get; set; }

    }

    public class ResponseStatus_Model
    {
        public bool IsSuccess { get; set; }

        public List<ErrorEnt> Errors { get; set; }

        public List<SuccessEnt> SuccessEntitys { get; set; }

        public List<SuccessMessagesItem> SuccessMessages { get; set; }

        public int? MsgCode { get; set; }
    }
    public class ErrorEnt
    {
        public string FieldName { get; set; }

        public string Message { get; set; }

        public int? DIndex { get; set; }
    }

    public class SuccessEnt
    {
        public int? Id { get; set; }
		public string Number { get; set; }
		public int? DIndex { get; set; }
    }

    public class SuccessMessagesItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string FieldName { get; set; }
        /// <summary>
        /// 单据编号为“AR00000190”的应收单，保存成功！
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int DIndex { get; set; }
    }*/


}
